//
//  UILable+category.swift
//  swift-GWYWeiBo
//
//  Created by x on 2017/4/20.
//  Copyright © 2017年 HLB. All rights reserved.
//

import UIKit

extension UILabel {
    //快速创建一个lable
    class func creatLbale(color: UIColor, fontSize: CGFloat) -> UILabel {
        let tt = UILabel()
        tt.translatesAutoresizingMaskIntoConstraints = false
        tt.font = UIFont.systemFont(ofSize: fontSize)
        tt.textColor = color
        return tt
    }
}
